<html>
<head><meta charset="utf-8"><title>oops · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/oops.html">oops</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="236844052"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/oops/near/236844052" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/oops.html#236844052">(Apr 30 2021 at 14:37)</a>:</h4>
<p>it turns out that this diff causes 2341 errors <span aria-label="upside down" class="emoji emoji-1f643" role="img" title="upside down">:upside_down:</span> </p>
<div class="codehilite" data-code-language="Diff"><pre><span></span><code><span class="gh">diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs</span>
<span class="gh">index 0ab9f490fd4..a1c653482f1 100644</span>
<span class="gd">--- a/library/std/src/lib.rs</span>
<span class="gi">+++ b/library/std/src/lib.rs</span>
<span class="gu">@@ -345,6 +345,9 @@</span>
 #[allow(unused)]
 use prelude::v1::*;

<span class="gi">+// allow linking to `core::` with intra-doc links</span>
<span class="gi">+extern crate self as core;</span>
<span class="gi">+</span>
 // Access to Bencher, etc.
 #[cfg(test)]
 extern crate test;
</code></pre></div>



<a name="236855122"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/oops/near/236855122" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> hyd-dev <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/oops.html#236855122">(Apr 30 2021 at 15:37)</a>:</h4>
<p>I don't know the context, but why are you trying to add <code>extern crate self as core</code> instead of <code>std</code> in <code>library/std</code>?</p>



<a name="236855170"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/oops/near/236855170" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/oops.html#236855170">(Apr 30 2021 at 15:37)</a>:</h4>
<p>lol yup that's why it broke</p>



<a name="236855183"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/oops/near/236855183" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/oops.html#236855183">(Apr 30 2021 at 15:37)</a>:</h4>
<p>I meant to add it to core</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>